/**
 * 
 */
package com.ubo.java.model.methode;

import java.util.Set;


import com.ubo.java.model.EVisibility;
import com.ubo.java.model.IType;
import com.ubo.java.model.comment.Comment;
import com.ubo.java.model.declaration.Parameter;
import com.ubo.transform.java.IJavaVisitor;

/**
 * @author saludegu
 * 
 */
public class Constructor extends ASignature {

	/**
	 * Constructor
	 * 
	 * @param modifiers
	 * @param visibility
	 * @param parameters
	 */
	public Constructor(EVisibility visibility, Set<Parameter> parameters,
			IType type) {
		super(visibility, parameters, type);
		mComment = new Comment(new StringBuffer(
				"\t*\n\t*\n\t* Constructor\n\t*\n\t"));
		generateComments();
	}

	/**
	 * @see com.ubo.transform.java.IJavaGenerable#generate(com.ubo.transform.java.IJavaVisitor)
	 */
	@Override
	public void generate(IJavaVisitor<?> generator) {
		generator.generate(this);
	}
}
